<%-- 
    Document   : insertarCarrera
    Created on : 04-ene-2012, 0:33:59
    Author     : CAPISTRAN
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
         <script language="JavaScript" type="text/javascript" src="js/jquery-1.7.1.js"></script>
        <script language="JavaScript" type="text/javascript" src="js/jquery.validate.js"></script>
        <script language="JavaScript" type="text/javascript" src="js/jquery.maskedinput-1.3.js"></script>
        <script>
         $(document).ready(function(){
         $("#insertar_carrera").validate(
          {
             rules:{idTabla:{required:true},descripcion:{required:true}},
              messages:{idTabla:"Ingresar dato",descripcion:"Ingresar descripcion"}
           }
        )
         });        
        </script>
        <script type="text/javascript">
            jQuery(function($){ 
            $("#idTabla").mask("99?999999"); 
            $("#descripcion").mask("****?***********************"); 
        
        }); 
            
        </script>
        
        <title>Insertar Datos A La Tabla Carrera</title>
    </head>
    <body bgcolor="#04B486">
        
        <form id="insertar_carrera" name="insertar_carrera" methodo="post" action="InsertarCarreraServlet">
        <table align="center">
            
            <tr><td>Id de la tabla:
                    <input id="idTabla" name="idTabla" class="required" type="text" maxlenght="15" size="10"/>                    
            </td></tr>
                 
            <tr><td> Descripcion:
                   <input id="descripcion" name="descripcion" class="required" type="text" maxlenght="15" size="10"/>
            </td></tr>
            <tr align="center">
                <td> <input  type="submit" value="insertar">
            </td></tr>
            <tr></tr>              
            <tr></tr>
            <tr></tr>
            <tr align="center"><td>
                <a href="http://localhost:8084/Training2-1.0-SNAPSHOT/index.jsp"  class="link2c2">Regresar a Pagina Principal</a>
            </td></tr>
        </table>
     </form>
    </body>
</html>